﻿@charset "utf-8";
/* EZweb RWD版基礎CSS檔 base_rwd.css */
/* 說明：
    針對RWD版面所設定基礎CSS檔；非RWD版面則不需載此CSS檔。
    設計師可在style_rwd.css檔內，覆蓋相關屬性進行設計。
    by.Sean 2015.11.6 (修改2016.08.01) */

@media (max-width: 1199px) {
    #floating {
        position: fixed;
        top: 50%;
        right: 0;
        margin-right: 0;
    }

    #floating.fixed {
        top: 50%;
    }
}

@media (max-width: 991px) {
    .side1 .side-toggle {
        display: block;
        width: 100%;
        text-align: left;
        background: none;
        border-bottom: 1px solid #ddd;
        margin-top: 30px;
    }

    .side1 .side-toggle .glyphicon-chevron-down,
    .side1 .side-toggle.collapsed .glyphicon-chevron-up {
        display: none;
    }

    .side1 .side-toggle .glyphicon-chevron-up,
    .side1 .side-toggle.collapsed .glyphicon-chevron-down {
        display: inline-block;
    }

    .side1 .toggle-icon {
        float: right;
    }
}

@media (max-width: 767px) {
    .navbar-toggle {
        border-color: #ddd;
    }

    .navbar-toggle:hover {
        background-color: #ddd;
    }

    .navbar-toggle .icon-bar {
        background-color: #888;
    }
}

/*----------------------- .clear_col 塊狀列表 防止跑版 -----------------------*/
.clear_col > *[class*="col-xs-1"]:nth-child(12n+1),
.clear_col > *[class*="col-xs-2"]:nth-child(6n+1),
.clear_col > *[class*="col-xs-3"]:nth-child(4n+1),
.clear_col > *[class*="col-xs-4"]:nth-child(3n+1),
.clear_col > *[class*="col-xs-6"]:nth-child(2n+1),
.clear_col > *[class*="col-xs-12"]:nth-child(1n+1),
.clear_col > *[class*="col10-xs-1"]:nth-child(10n+1),
.clear_col > *[class*="col10-xs-2"]:nth-child(5n+1),
.clear_col > *[class*="col10-xs-5"]:nth-child(2n+1) {clear: both;}
@media (min-width: 768px) {
	.clear_col > *[class*="sm"]:nth-child(1n+1) {clear: none;}
	.clear_col > *[class*="col-sm-1"]:nth-child(12n+1),
	.clear_col > *[class*="col-sm-2"]:nth-child(6n+1),
	.clear_col > *[class*="col-sm-3"]:nth-child(4n+1),
	.clear_col > *[class*="col-sm-4"]:nth-child(3n+1),
	.clear_col > *[class*="col-sm-6"]:nth-child(2n+1),
	.clear_col > *[class*="col-sm-12"]:nth-child(1n+1),
    .clear_col > *[class*="col10-sm-1"]:nth-child(10n+1),
	.clear_col > *[class*="col10-sm-2"]:nth-child(5n+1),
	.clear_col > *[class*="col10-sm-5"]:nth-child(2n+1){clear: both;}
}
@media (min-width: 992px) {
	.clear_col > *[class*="md"]:nth-child(1n+1) {clear: none;}
	.clear_col > *[class*="col-md-1"]:nth-child(12n+1),
	.clear_col > *[class*="col-md-2"]:nth-child(6n+1),
	.clear_col > *[class*="col-md-3"]:nth-child(4n+1),
	.clear_col > *[class*="col-md-4"]:nth-child(3n+1),
	.clear_col > *[class*="col-md-6"]:nth-child(2n+1),
	.clear_col > *[class*="col-md-12"]:nth-child(1n+1),
    .clear_col > *[class*="col10-md-1"]:nth-child(10n+1),
	.clear_col > *[class*="col10-md-2"]:nth-child(5n+1),
	.clear_col > *[class*="col10-md-5"]:nth-child(2n+1){clear: both;}
}
@media (min-width: 1200px) {
	.clear_col > *[class*="lg"]:nth-child(1n+1) {clear: none;}
	.clear_col > *[class*="col-lg-1"]:nth-child(12n+1),
	.clear_col > *[class*="col-lg-2"]:nth-child(6n+1),
	.clear_col > *[class*="col-lg-3"]:nth-child(4n+1),
	.clear_col > *[class*="col-lg-4"]:nth-child(3n+1),
	.clear_col > *[class*="col-lg-6"]:nth-child(2n+1),
	.clear_col > *[class*="col-lg-12"]:nth-child(1n+1),
    .clear_col > *[class*="col10-lg-1"]:nth-child(10n+1),
	.clear_col > *[class*="col10-lg-2"]:nth-child(5n+1),
	.clear_col > *[class*="col10-lg-5"]:nth-child(2n+1){clear: both;}
}
/*----------------------- END .clear_col 塊狀列表 防止跑版 -----------------------*/

